package com.gticket.buyticket.service.serviceimpl;

import com.gticket.buyticket.mapper.ActualSeatMapper;
import com.gticket.buyticket.pojo.ActualSeat;
import com.gticket.buyticket.pojo.FilmSchedule;
import com.gticket.buyticket.service.ActualSeatService;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Data
@Service
@Transactional
public class ActualSeatServiceImpl implements ActualSeatService {

    @Autowired
    private ActualSeatMapper actualSeatMapper;

    @Override
    public ActualSeat getSeatLayout(ActualSeat actualSeat) {
        return actualSeatMapper.getSeatLayout(actualSeat);
    }
}
